#ifndef __BALLADE_LISTENER_H__
#define __BALLADE_LISTENER_H__

#pragma once

#include <ballade/util.h>
#include <ballade/smartclient/config.h>

namespace Ballade
{
	namespace SmartClient
	{
		class SMARTCLIENT_API Listener
		{
		public:
			Listener(const char *name);
			~Listener();
			const char *getName() const;
			virtual void handle(const char *data) = 0;

		protected:
			static Util::Logger &Logger_;

		private:
			char _name[100];
		};
	}
}

#endif